package levels
{
	import org.flixel.*;
	
	import states.GameState;
	import enemies.*;
	import interactions.*;
	import items.*;
	import treasures.*;
	
	/**
	 * ...
	 * @author JAC
	 */
	public class Level_11 extends GameState
	{
		override public function create():void
		{
			super.create();
			
			_maze.load(MazeData.jac_maze);
			
			Player.spawnAt(1, 10);
			
			Tracker.lives = 2;
			Tracker.mapScore = 1000;
			Tracker.minScore = 3;
			
			addEntity(new Slow(25, 15));
			addEntity(new Slow(5, 9));
			addEntity(new RockThrow(5, 11));
			addEntity(new RockThrow(25, 5));
			addEntity(new Trapdoor(17, 10));
			addEntity(new Trapdoor(11, 10));
			
			addEntity(new LootBag(11, 3));
			addEntity(new LootBag(13, 3));
			addEntity(new LootBag(15, 3));
			addEntity(new LootBag(17, 3));

			addEntity(new LootBag(11, 17));
			addEntity(new LootBag(13, 17));
			addEntity(new LootBag(15, 17));
			addEntity(new LootBag(17, 17));
						
			addEntity(new Brute(0, 5));
			addEntity(new Exorcist(10, 0));
			addEntity(new Robber(18, 0));
			
			addEntity(new Brute(28, 15));
			addEntity(new Exorcist(18, 20));
			addEntity(new Robber(10, 20));
			
			
			gameStart();
		}
	}
}